package com.beagle.njddapp.ui.presenter;

import com.beagle.njddapp.base.ApiService;
import com.beagle.njddapp.base.BasePresenter;
import com.beagle.njddapp.base.RetrofitHttp;
import com.beagle.njddapp.ui.view.MainView;


public class MainPresenter extends BasePresenter<MainView> {
    private ApiService apiService;

    public MainPresenter() {
        retrofit2.Retrofit retrofit = RetrofitHttp.provideRetrofit();
        //获取接口对象
        apiService = retrofit.create(ApiService.class);

    }

    public void getData(String type) {
//
    }
}